package com.tsingteng.cosfun.ui.cosfun.imodel;


import com.tsingteng.cosfun.bean.BaseDataBean;
import com.tsingteng.cosfun.bean.PersonBean;
import com.tsingteng.cosfun.bean.VideoSignBean;
import com.tsingteng.cosfun.mvp.module.BaseModel;

import retrofit2.Callback;

public class FeedBackModel extends BaseModel implements IFeedbackModel {



    @Override
    public void feedbak(String content, String img, String phone, String sign, Callback<BaseDataBean<PersonBean>> callback) {
        doRxRequest().feedback(content, img, phone, sign).enqueue(callback);
    }

    /**
     * 得到七牛的签名
     *
     * @param callback
     */
    @Override
    public void getSignaTure(String type, Callback<BaseDataBean<VideoSignBean>> callback) {
        doRxRequest().getSign(type).enqueue(callback);
    }



}
